Move script to new main module
Move script to new main module

Script works the same as before, but having the `main` module allows for
other Python scripts to call this one.

spencermamer/task-graphdeps