Big Changes

Added a head.js & end.js to keep everything in the sandbox. Added
call-swapping.js