Changed the configuration handling to make it easy to pull a different configuration from the database by changing an environment variable.