Refactor tox configuration