convert from package to module
pep8 fix
add environment variables doc
add python 3 testing to travis