Added header parser of NEC protocol. Fixed accurate parser for bits.
Fixed CMAKE.