QueryExecutor - not yet tested
querygenerator