Add main function REPL example