Added data compression and decompression functions.
Reduced full data to necessary fields.