Dependency injection by config.yml