added methods and documentation to the task controllers
added doc to model task