exit with -1 when error (for travis)
add function to get the number of submeshes
update cmake
add the move to the mesh