Added functionalities and comments to align with the new config file layout from SurfaceMeshGenerator. It is not complete though so may crash. Working on the missing bits and pieces in funtion retrieve_topology_info() in main.cpp and beyond.