Added CRCencoder and decoder