changed to directed graph.

and added some more packages