  Manage to download, store and cache the json file
  used to parse the pages of the website.
  */
-class HNParseConfig {
+public class HNParseConfig {
     private let savingKey = "HNParseConfig"
     private let url = "https://raw.githubusercontent.com/tsucres/HNScraper/master/hn.json"
     private var _config: [String: Any]? = nil

            }
        })
    }
}

    
    
    /// Downloads the configFile and store it locally. If a configFile is already saved, it's replaced.
    internal func downloadConfigFile(completion: @escaping (([String: Any]?, RessourceFetcher.RessourceFetchingError?) -> Void)) {
        RessourceFetcher.shared.getJson(url: self.url, completion: { (json, error) -> Void in
            if (json != nil) {
                let defaults = UserDefaults.standard
