Created comment controller to handle comment-related processes.