wired up the query commands to the controller

wired up the query commands to the controller.

added validationqueryhandlerdecorator, but don't understand Container in
class yet.