Get configuration details from environment

In order to conform to the 12-factor world (which I generally agree with), we're going to stop taking config from the command line and use the env.