adds mongo server models and mongoose connectivity