refactor to use URL Service, so that we can do a search service too