Refactoring, variable renaming, clean interface for statistic creating.

Additionaly - implemented testing data from half of cadency.