webfetcher,refactoring