Main query service up and running.

I now have the serch query for the main screen working