Stats class added for keeping methods to collect statistics