Add a 'debug' mode, controls whether or not logging is enabled
Add a 'production' config, used with NODE_ENV=production