Merge pull request #43 from facebook/wbailey

new examples and helper classes
neaten up a few things and add some more docs