A lightweight recreation of Ruby on Rail's ActiveRecord class.