small changes
changed to associative map for managing devices and playbacks