Replace database bootstrapping tasks with ActiveRecord based ones