create post and comment models with relationships