Reorganizes source code