New system to parse graphs in server

Edges now have pointers to the nodes
One less #include something.cpp