Refactoring to make queries_controller more RESTful