In this project is an example of moving the Base script into a submenu item, and changing it, as well as adding a new script to another submenu item.
https://weirdbearddev.com/2020/08/01/creating-custom-unity-script-templates/
Follow Weird Beard Dev's blog for better understanding of the naming convention that MUST be followed.