Refactored code to consolidate common functions in common.py
Added better error checking to simple_search
Added proper argument parsing to simple_search
Added automatic API key loading
Merge pull request #3 from sbromberger/master

Refactored code to consolidate common functions in common.py, and other changes