adding dispatcher from todomvc-flux.WIP