First attempt at ActiveRecord in ruby without rails