Broke REPL out into its own class. Fixed how syntax highlighting is done.