REST backend for scheduling app, Using mongoDB and Flask