first version of the query controller
sending request to add in queue