Implement Dependency Injection