generated comment model and controller