Refactoring yelp resultsView to decouple search and render functions