adding statisticsAPI and StatisticsPlugin to Core