Simplified the config system

Converted the config from a setup function into an object that grabs
from the NODE_ENV to set the current configurations.  Also, config.js
was modified for a single object exported with module.exports -- the
node documentation prefers that module.exports uses as a single object.