Move repl out of its own module and into crate root. Clean up main, move file reading code into a separate function