PEP8 style changes

Still trying to learn the codebase, but contributing what I can for now. PEP8 recommends 2 empty lines between class definitions, and some other minor changes.