Added API to get historic data.
updated graph code.
adding files.
Merge pull request #2 from mlindegarde/get-historic-data-for-graph

Get historic data for graph