Added CRC calculations for the messages and started implementing message decoding.