Reorganizes all components into packages.