Added StatisticsService and tests. Test status: 40/7/2