Refactored the way new resolution result is built so that it is easy to serialise the new model.
Refactoring - used the static fields for better clarity.
Small refactoring - used specific exception.
Refactoring - removed one public constructor.
Small refactoring - used specific exception.
Some refactoring, removed redundant listener that turns out not necessary. Some rename job.
Steps towards serialising the new dependency graph model (we already stream the old model).