Define commands for main functions
Make functions local to script, add inclusion guard and cp check
Allow slime variable override in .vimrc and custom key bindings