Contains code for storing date into Mongo DB