Flake8 cleanups
Add python packaging support