Working use of automaton and streams

First working hook up of an mcast stream and an automaton