fix indentation
remove unused import
remove unused import
remove commented method then unused import
remove unused import
change MobyleError by InternalError (see error refactoring)
remove unused import + minor fix to follow pep8
replace MobyleError by InternalError according to erro refactoring