Split CdecStateConverter into two classes that share a base class