Refactor TaskManager to use ICategory to find list of tasks in a category