Issue #120: Refactored SimpleJobFactory and WorkflowEngine.