Add barracks event dispatcher for flux