first pass at removing setDefaultAttrs logic to speed up node instantation performance
refactored transition logic and added getAttr method