refactor: add param "localAppMode" to config. When set to true, the log and settings files are stored in the user folder.