Implemented resolve_repository, xcreate, xfetch. fixed find bug.