https://sudeeptarlekar.github.io//posts/adding-rails-like-associations-in-Ruby/
How to add Rails like associations in simple Ruby - Sudeep Tarlekar