[Repository] Reimplement repo