[WIP] Add repository manager