AVALANCHE: Reorganise source files.