mongo_handler schemas, models, basic functions written