add query class to top level exports