Manager overhaul
Fix: ActiveRecord class is not defined.