some pep8 and cosmetic changes, added gitignore
pull in volkan's pep 8 changes and add some more of my own