Moving stuff to graph controller.
Lots of additions/fixes. To be verified when merged.
Merge pull request #55 from patrickdmccarthy/finishViewPart

Finish view part