ActiveRecord like functionalities for reading from YAML with a simple class implementation