organizing, letting only kbt_graph.w as base module