Implement translation of URL queries to mongo queries. Needs testing.