refactoring mesher main.cpp