refactor to set taskState and TaskStatus to TaskProgress

TaskState is now in root class instead of TaskStatus