added a Post model and Posts controller