WIP: Add depsolving utility

Add a dependency ordering utility.
It is not wired into the Bash processing yet.