add tox and flake8 settings