Task class implemented