Refactored the AudioHandling Sample