make CodecConfig a factory