Added a new element, refactored some PieChart methods and prepared for sorting method of Lines.