Change the attributes for task and make them private. Add a new class TaskBuilder to help initialize a Task object.