Adding QueryWorkflow class.
Merge