Refactor into Playback class