add Query Class, prepare for monic engine