Added new graph, Controller, Modified view, added Js function