began function for managing the graph inside the nameserver. Makefile also updated