Repository dependency injection