Building out the post creation code