Post support

The code is working for the basic test case that cpg showed me. We can have more comprehensive tests soon.