Refactored search code into ResultsContainerViewController