Added statistics with pie chart

Added:
 - statistics
 - pie chart
 - history