API now connects to mongo db
Merged remote changes