started refactoring of the quicksearchbox