Implemented the Mesh object