created factory to retrieve data and url location is now tied to the search box.