Improve stats

- use setattr rather than decorators
- make manager for managing stats