Refine repository manager