update config to use env variables for host and dbhost
add mongoose config, and logger
add validateObject helper which checks to make sure an object has certain properties
add routers to main server.js
remove config