Reorganise application.