It’s called a module in BAS. In your project check the ui tools on top. Select the functions you want to export and that’s it. Later you can enable or disable for any other scripts
Export your spreadsheet as csv file, than import it to BAS as a resource and set it to use each line 1 time (it is default setting I think). That way each thread would take new line from your csv file in run mode or as compiled bot.