Added query controller/route and basic unit test