Refactoring-friendly TaskController and Repositories