Added create_post method for programmatic post creation

Closes #28