added loading of active_model directly into class that needs it