Main command line class and script to run it.