Remove unneded import, set globals
Refactor for PEP8
Remove whitespace in class definitions