Added Stats class

Stats class register performance information