Made the constructor for MongoManager more functional
Made the constructor for MongoManager more functional