Combine code

merged code for sound, visual, and atari implementation