Implement writing OptPack bodies with `hex opt pack`
Implement reading resources from hex opt packs