Translate legacy db to ActiveRecord models