Moved routes pertaining to graph to separate file. Added support for class pages, and links navigating to them from personal pages. Generalized d3-graph