Implement runner w/ dependency resolution, basic tests for it.

I need to factor the dependency resolution outside this specific runner
it's in right now, but I wanted to get it working first.