refactor Resource views and add Comment model