pep8 changes for factory folder