move the audio code to a new class