new common base class for compiled model generators