do exception handling. have a log file probably in a directory like output/debug and have the output of the program go to output/results? sounds good!