Setup mongoose connection in new config file