Move hostsfetcher into separate package