Added stats collection library