add tool mode
travis + tox setup