Bugfix model <-> devices.
Merge branch 'experimental' of github.com:project-nms/nms_code into experimental