Refactoring of BaseMesh

#48 and cleaning for future work on CylMesh