Reorganise repository