Initial versian of demux
Completed tests for circuit demuxer
Experiments on simulation