Normalize the API structure for most of the common codecs.
Move CMS handling into the codecs package.