add raster and json.gz format
remove stats and fix pallet bugs.
move help file to viewer folder.
replace gz with bz2 (better compression).
code clean up.