Changing oF root route.
Changing some methods with Graph class specific methods.