add basic repl for debugging