add simple query manager

add new response handler