#59 New internal class ScopeStack, to override the old ObjectsByName class.
#60 New methods to create and or load objects from template, changed the loading of ResourcesCollection to used these methods when the Template attribute is used on XML.
#60 Refactoring when transforming datablocks into real data: new class DatablockInterpreter.