Mini version of ActiveRecord written in Ruby