Add Tipue Search

Successor to #60. Rebased and updated.
I don't know why this is showing up here - these changes are already merged.