removed unused imports
fixed tabspaces and added pep8 standards