Use querystring to create params.

Also, remove the useless function that doesn't return anything
Merge pull request #3 from christianbundy/FixSearch

Use querystring to create params.