change CComponent to CApplicationComponent