scratchpad refactored into own file
command_prompt into own file
share button and notebook title on their own files
refactored reset_session and main.js into session.js. Now to generalize for the benefit of view.js
more cleanup