Worked on Adding GUI functionality

setup function for playback, recording, and stopping playback. We also
went through the program logic and deemed it "ready to work" once
returning javascript values returns correctly.