Settings refactoring

* split user settings (userPrefs) and internal settings
* use 'ConfigParser' for userPrefs