typos
fix of graph generation in module file
comments added