Pulled the configuration out to a config.json and used nconf to read the configuration. Need to do some more work to read environment variables and command line parameters.