class Encode: sub classes for UCH, SCH added.