Classify classes into packages