added support for plug-n-play leaf device
Merge pull request #105 from moloyc/devR2.0

added support for plug-n-play leaf device