Changed some things in tools for how the dependency graph works.

Soon will be adding usage of a database for being able to deal with
file-by-file information storage.