Add command line interface and compiling batch scripts.