Refactored the search results and details view into their own view controller