intermediate progress on giving workflowmodel the list of tasks instead of stagemodel