Implemented the comment controller and its implementation