persist new device part 1
Merge pull request #8 from MyriadProject/device-ui

persist new device part 1 (hopefully this doesn't break)