Move Ungraph and Digraph to separate submodules of graph