Implement basic notes API.

I've not addressed the hack bubbles, but the data functionality is
there.