Implement DataTree and DataNode.

Without ephemeral nodes support.