Amended back end for device ownership
Changed shared JSON openers and savers
Refactored lights to enable easy access to individual lights and saving of state