Simplify config to an object

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.
Merge pull request #1 from justinmealey/master

Simplified the config system