reimplemented Codec class
CodecDecoder and CodecEncoder are implemented as Codec::Decoder and Codec::Encoder
implemented Codec classes