extra work towards compression of resources

currently just the literal aggregation and binary compression are implemented.
Still need to implement the middle LZSS pass.