Started work on main, command line parsing, and REPL.