Command line app implemented in main method of predictor class.