Added SoundPlayer class to play sounds