Converted static functions in YesWorkflowCLI to member functions.
Improved testability.