Adding a mapfileparser class

Still some issues with mixing C / C++ code to be resolved :-/