a lite clone of ActiveRecord's basic features