Split graph_builder.hpp to graph_defs.hpp and graph_builder.hpp