Rework Devices module again. Added REST section for control devices by level