Reorganizes source files