adds a REPL for debugging

Very simple, leverages existing node modules.