Hierarchy for scripts resources (like windows)

Could be the scripts of the projects saved in a way that more than concurrent user can edit it simultaneously.

Maybe doing the resources of code in a hierarchy way (like windows), ideally, the most lower-level leaf would be a class or function (at least module, if it’s not possible).

Maybe something like this:

Project Scripts
     Gateway Scripts
        StartUp
        Shutdown
        Timer
              Timer1
              ...
              TimerN
        Tag Change  
              TagChange1
              ...
              TagChangeN
    Client Scripts
        StartUp
        Shutdown
        Shutdown-Intercept
        Keystrokes
              Keystroke1
              ...
              KeystrokeN
        Timer
              Timer1
              ...
              TimerN
        Tag Change  
              TagChange1
              ...
              TagChangeN
        Menubar
    Common Scripts
        app package
              module1
              ...
              moduleN
         userPackage1
              module1
              ...
              moduleN
         ....
         userPackageN
              module1
              ...
              moduleN