reorganise repository