added post model, post controller, and index view