Create comment model and refactored some of the controllers and models