move settings to settings file