added queryanalyer.cpp