cleans TaskInterface and task building