New interface to achieve dependency injection