refactor rename methods/variables in Task Class