class readtask can now read the tasklist