Finished the analysis functionality. At this point version 1 of this program is done.