Added Cube3D class