Updated README.md to include dependency injection.