Add Dispatch leader, and dispatch command for Erlang