API2 rework

- removed 'using namespace' in headers
- complete demux/decoding pipeline
- demux/decode example