ControllerExtension class and ServiceClass updated with comments.