Modernize
Fix indentation
Support Python 3
Add some Python 3 support