SOLID refactoring exercise | Hacker News Reader