Added dependencyData csv generator.  Also slight refactoring, moved all logging to helper functions at the bottom.