Added comments to Task and addTask