Adds in search.py

It looks like I only commited the changes to server instead of search in
an earlier commit, and that left out the search.py file. This adds it
in.