generate Comment model and layout work