Initial attempt at exposing an API such that we can re-integrate the scala REPL with autocompletion options.