- added singleton for qsettings
- added debug define for simul code