added initial pie chart graphing and control panel