prefix all reposit typenames with 'rp_'
delete redundant code
refactor
refactor
refactor