Hannah example code?

Is there example code for interfacing with Hannah’s sensors and IO expander?

Most of the early example documentation is for April boards, but given that the Hannah has a lot of onboard stuff already, I’d prefer to modify it to just use that. I don’t see examples that utilize Hannah’s additional hardware.

Ah, linked from here: http://devwiki.electricimp.com/doku.php?id=workedexamples

For example: 

I wish lots of this Hannah IO stuff was in a library, instead of being so much boilerplate in my code. I’d love to be able to factor it out into a separate file like in a traditional dev environment.