Add embedded REPL

For debugging on remote instances