Loading of default device template from a JSON file, parsing and loading
into the object tree. changed folder of script files. added a template
folder to store demo templates.