static void Main(string[] args) { var factory = new Factory(); var workflow = factory.NewWorkflowManager(); workflow.Run(args); }