Migrating stats data. Refactoring kpds tables
wip
Eff formuls