add db/ActiveRecord.php