Rook example code

@hlship Take a look and see what you think.

I've included example code, which is pulled in by a plugin. There's an integration test for the example code.
Indentation seems quite odd here, I tend towards 4 spaces.