Mjames/wip

@dsego - don't merge yet, but here's a working set of code hooking up the search to the backend