Modified the Task ADT

The respective tasks will now automatically setup their task type.