Moved repl code to demo. Updated core to run with main. Added better exit handling for command line running
Moved repl code to demo. Updated core to run with main. Added better exit handling for command line running