Ported to new DisCODe

Removed unused Base::Event and changed macro to REGISTER_COMPONENT.