put content of main.cpp to cli.cpp and reworked that as a class
put global functions into methods in latex.cpp/html.cpp
put global functions in io.cpp into a class
forgot to commit mpr_reader.h in last commit
moved escapeLatex/Html and replaceHtml/LatexCommands to corresponding MPRWriter classes
fixed bug where the output type auto detection could overwrite --html/--latex
documented many header files but some are still missing
fixed helper functions in html/latex to use const reference strings