Revise naive trie date structures.
Add a skeleton TrieDb class.