[WIP] Refactoring Playback and adding Layers

Also added some functions to DeviceSet that were missing.