create a class querier