added data structs and mesh.cpp functions