mesh is renamed into Mesh; idx funcs are moved to private namespace; add static variables in gambitIO