staging/parser: refactured and new doughnut-chart