Bug fixes. Added simple DSL for wiring up event components.