Some further refactoring, sets uncompressed as default
for the Config helper class. Adds another unit test.
Rewrites some functions to make them simpler.
e.g. Decompress before attempting to calculate a value