Compress the output file!
Minor changes
Added store/fetch functions for local storage