new post state machine.
Merge pull request #19 from Helabs/post/state-machine

new post state machine.