correctly setup packages and tests
save tokens to file, env vars for client key and secret
Merge pull request #1 from jgoulah/master

refactoring and usability fixes