added base code for search panel
search mechanism works