Move statistic methods into their own files