generate comments controller