Posts revisions - early review

This is built on #36 .. its really only 3 or 4 commits, not 16.

Pushing it for early review of the approach. I'll add comments on particular lines I'm not sure about.