Add dependency resolving graph
Add more complex tests. Seems ok so far.
Add cycle exception