Working on the mesh parser.
Clean up code.