started to convert yEnc module to a class