added eventmanagercomponent to basecomponent