refactor all the things
update cli tool with rest client, scoped option to their proper commands, updated a couple examples
Merge pull request #36 from gordonwritescode/master

refactor all the things