added a dedicated config file to keep all settings, and a getSettings method to REST API