fixed all pep8 errors and removed temp module