moved the wav reading code into executable play