Added dependency injection example