Some more refactoring - created explicit init/close methods on the infrastructure and workflow model elements, supplying context with init rather than when performing the tasks, to allow the tasks to pre-initialize any resources they may use