tuning and troubleshooting:\n
cleaning, IO now workable, restartMainApplication implemented
Prototype done. Doxygen cooments were added