update to REP 141, add new API to access distribution file, add migration script