Created Task class