abstracted access to settings file with a specific class, other minor changes