Turning REPL into its own module.