Implemented CubeGeometry and Geometry classes