Remove print and add charting library