Moved mongoose connection into Server