Add view and controller for charts