creating Post model and posts d table