Added classes Mesh and MeshFactory