I need to instantiate freemarker.template.Configuration in a dialog in Alfresco Explorer. Is there one already instantiated in Alfresco I can use so I don't have to instantiate it every time my dialog is called? Also, is there a way in Alfresco to store references to objects that I can use during a session to pass among the various pages the user visits, for instance this Configuration instantiation. Store it in the Session object? Some other mechanism?