Added changes for starting correct output and added new stats class