Adding create post logic

Adding logic to create new posts, note: no validation implmented yet