fixed the bug and moved everything into graph.php for the graph
ismall changes
Merge branch 'master' of http://github.com/CommonAccord/commonaccord