added tests, docs to resolver
added resolver docs
removed Resolver as base class to Dependency