Add decompression-related structs and funs

refs #1