Added implementation for the API Query object; the next will be the SolrQuery - a facade hiding most of the API methods