Hooked up database and configured development and production enviroments to rely on NODE_ENV eviroment variables