Added database model for tasks, task controller and template