create post framework