Added post model, controller actions for views