Added base Task class