Add task struct
The list of tasks is now a global object