added first chart

created a chartManager which holds all the js code for creating the
chart. May need to change the method for loading data into the chart
when things get more complicated. Currently using only php, might move
to ajax