if i'm understanding you correctly, you have a bunch of static data you want to load into and use within your level.
since smbx2 comes prepackaged with
lunajson, you can stick that data into a
json file and read it from there.
if i'm not understanding you correctly and you just want a set of lua structures that you can have access to in multiple levels, then you'll want to write a
library.