Self Classifying Reusable Components Generating Decision Trees from Test Cases