Revert "Initialize repositor"

This reverts commit 3d7998ac49ef69099cc2825f4cfce367632a2d43.
Revert "Revert "Initialize repositor""

This reverts commit 59345c647403a8937e73c90f8d5282d4f18c91cd.