update

add query class file, update visitor