An Algebraic Approach To Geometry