Use subclass of int to represent the status of the node.
 TaskManager was not passed to the Tasks of the Workflow.
 Code cleanun + use more python idioms