Moved all configuration to a config file