Moved all sound-related code to a new SoundManager class and cleaned up the Visualizer class