Extract TaskFilter class to own model