MongoDB schema and connections set