Replace “HeartValveLib” by “CustomScriptedModuleLib”; ‘util’ by ‘OtherModule1’, ‘LeafletModel’ by ‘OtherModule2’, etc.
You must keep the module widget class in CustomScriptedModule.py. If you want to simplify widget creation, then choose “scripteddesigner” module template in the Extension Wizard and use Qt Designer to create your GUI.