restructured the autocomplete for search view to be in lib
using theirs