Made following enhancements:

- Instead of using urllib, moved to requests
- Added support of python 3.x