Repl server, src refactor.