Adding QueryOperator factory for DSQL -> QueryModel transformation. Adding tests.