Move list of child tasks into task class

A task now knows about and handles its children