This commit adds a basic command-line interface. This interface allows rendering thumbnails and exporting data in batch mode.