Refactor pie chart renderer in to class