Set up capability for different configurations

Notably, dev/production. This is controlled by an environment variable, and defaults to the development config.