Initial refactor to allow for more decoding types.
Layers parse themselves.
Add support for gzip compression.
Prepare release 0.11.5
Whoops.