split classes into packages