Creating a simple abstract model to reduce boilerplate code | Hacker News Reader