finish moving code out of graphutil and delete the module