Added chart controller (app controller)
Updated to use chart controller