Added class for keeping track of statistics
Changes for statistics