Refactored recorder.js

-Separated out the view logic and the DOM manipulation into two separate classes.
-Updated the save feature for the recorder to work with the X-CSRF-Token
-Renamed poorly named variables.
-Scoped all global classes and variables to DELTA