Set up settings module to support different environments.