Removed unused import
Enforced PEP8
Removed unused variables