move crc const into config. more comments from spec and gofmt