Adds ability to add/remove tasks for TaskData class. TaskData ensures that index does not change after addition / deletion of tasks