Created the model for posts