object-oriented Trie Tree