added Graph.Dashboard and Graph.Component objects and reworked example code to use framework