Lite version of ActiveRecord