Add posts functionality

Issue #31, #32