extracted resource manager from repository