Creating a dependency injection component