PEP8 and readability improvements

I've removed all the line continuation markers ('\') and made some steps to bringing the code in line with [PEP8](http://legacy.python.org/dev/peps/pep-0008/)

I'm not very good with git/github so please let me know if I'm not doing this pull request correctly