Add dependency injection example