Corrected wrong url and did some minor pep8 cleanup