Added REPL class with a scanner.