REFACTORING CRC: change all datatype declarations to uns8, remove all superfluous includes