move settings from config to other modules