Flake8 cleanups and add tox config

Jenkins is setup