Create Task class