added Task module, communicating with MongoDB.