Refactor ruby code

(re)Make DiskFetcher a global method, convert whois() to a function