new tables defined
Added jpgraph functionality