Design suggestion for a big project file

Hello community,

I have an automation script which contains more than 50 variables in it. What is the best way to handle this scenario. Is there any possibility like creating a ‘Struct’ variable to categorize?

Any suggestions are most welcome!

Best,
John