adds search results view and partial code for displaying results in the view