Search Function OK

update on working search function with no auto-complete and no tree view
yet.