Removed unused imports, pep8 fixes, typo fixes