fixed up search switcher
added wrapper around data initializer to allow rake tasks
ready to work on heroku
data init ready to go again
move set_term to correct location