decoder works
added demux implementation