dclass: Rearrange packing structure completely.  Some features still need to be re-implemented.