cleaning up chartcontroller. it's now sexy
merged