added in reference and binding stuff
Merge pull request #1 from danwrong/master

added in reference and binding stuff