Added Mesh class

It is, however, very sloppy.