Added rotator class for making the pie chart rotate