Fix compilation warnings
Move PDF to doc directory
Add rules for ack
Fix sha functions on little-endian platforms
Update all