create post model and controller