Initial docs for refs
Add refs examples
Merge pull request #194 from tent/refs

Refs