pub type EventHandlerFn = Arc<Box<dyn Fn(Event)>>;