Add ITaskService as parent for ITask
Fix registration of task