code: function(location, name) {
    
    this.location = location;
    this.name = name;
  
    if (this.isUrl(location)) {
      if (this.name)
        this.name = require('sanitize-filename')(this.name, {replacement: '_'});
      if (typeof window === 'undefined')
        this.request = require('request').defaults({headers: {'User-Agent': 'limberest'}});
      else
        this.request = require('browser-request');
    }
    else {
      this.storage = new Storage(this.location, this.name);    
    }
  
    this.path = this.location;
    if (this.name)
      this.path += '/' + this.name;
  }
docs: Abstraction that uses either URL retrieval or storage. name is optional