Add accessors and mutators for Task class