Simple event dispatcher with events filtering by pattern