Basic architecture for DecisionTrees.