SMV #72: added initial implemnetation of module dependency graph.
SMV #72: extracted the dependency graph functions into own class for cleaner interface.