Update for requests >= 1.0
Add a license
Structure as a package