Created view controllers containing code for the search functionality.