Changed child data structure to a dictionary instead of list. This should allow faster look up on classification.