Refactor all tasks into one multitask. Remove unused