First commit

Copied from configurable_search.rb in which-care