First working version of search view