Improve the statistics page + added comments + isolate Utils functions