[WIP] Add repository manager

Useless?