Where should I save some permanent information?

You could also use a dictionary held in the top-level of a project script. You can search on the forum about using system.util.getGlobals() for such a thing.