extract Task#search to a new class TaskSerch#search