Adds code to get the Scala REPL working