separate files into packages