Data management library for hierarchical Cartesian data structure