ENH : structs for handling MDS data structures

Added machinery to generate namedtuple sub-classes for
managing data structures to/from MDS