moved search and service helpers into lib
removed some unneeded returns, and a semi colon
fixed README.rdoc