Simple event dispatcher with filtering events by pattern