Move class statistic to a seperate layer

- Finish the bar graph for class statistics
Merge