created class file for query client