Starting rendering mechanics

Started implementing the mesh class.