Add python requirements.txt
Fix pep8 reported issues