Creates new entry in mongo database

def create(self, data):
		"""Creates new entry in mongo database
		"""		
		q = self.history.insert_one(data).inserted_id
		logging.debug(self.history.find_one({"_id":q}))