How to design a class | Hacker News Reader