Task Class Constructor

The following is the Task class constructor.