add initial Stats class and usage example