init pix-query class