Various improvements

Hi I made a few improvements, I hope you like them :smiley:
* Added documentation,
* made PEP8 compliant, and more configurable,
* Started using ``requests`` instead of ``os.system`` and ``curl``.

(It looks worse than it is, as most of the changes are indentation fixes)