Added documentation, corrected error handling
Fix styling for the 21st century.
Add compression script