[RFR] Isolate model into $n factory