Reorganized Bard VM to separate out the command-line main() from the library files.