class Decode/Encode: sub classes for BDA, BTI, BDY added; HDY corrected.