pass all track details to playTrack
move audio playback code into its own private scope with an exposed AUDIOPLAYER object for public methods