Added wwd test
Refactored errors, buffers and compression
Removed checksum from utils
Handle out of memory in every function
Changed unsigned to uint32_t in many places
Refactored streams
Added #errors for incompatible machines