Major refactor change to Workflow.
New architecture.