removed obsolete imports
removed unused import
respect PEP 8