Cleans up chart controllers and views