class Decode: sub classes for HDY, TTM added.