Move statistics to own file