add example to use swarm library
implemente NetDec::input for connect between decoder and data