Add task status struct and pack in a few more things