created post and comment models with relationships