added controllers, application view, model for posts