A lite version of ActiveRecord