formatting string output
basic pep8
small refacto
pep8 imports