Add search functionality?

What would you think about something like this?
I think that it could be cleaner, but this should work for now.