Update to requests module and class changes

This pull request changes the HTTP request library from urllib to requests for simplification.

Also, slight changes to the structure of the class.