Switch DAL to ActiveRecord realization