Initial implementation of Pyramid and Cube