Dependency injection in Scala | Hacker News Reader