generate comment controller