Revamp the way stats are handled, using YAML file