Implemented save() and delete() for Tasks