slitted code into packages