DanilF: Initial checkin of dependency resolution and 3 basic types of dependencies.