Refactoring controller.  Changing todo to task.  Removing uneeded code.