Added configurable codecs.
Enabled access to codecs and added more detailed examples.