reorganizing code files into respective packages.