added docs to resolver
returned implementation resolver interface to Dependency