First iteration of querying, currently ignores sort and allows queries that app engine will not do.
Adding querying and sorting