code: function(apObject){
  
    // to be set
    this.logintoken = null;
  
    this.text = ap.arg(0);
    this.lang = ap.opt("lang");
    this.n = ap.opt("n");
    this.download = ap.opt("download");
    this.retries = ap.opt("retries");
    this.retryIn = ap.opt("retryIn");
    this.isFile = false;
    this.isDirectory = false;
    this.track = ua('UA-23672935-2');
  
    //If is search or file?
    var file = null;
    if( fs.existsSync(this.text) ) {
  
        var stats = fs.statSync(this.text);
        this.download = true;
        this.isFile = true; //even if is a directory it's a file!
        this.isDirectory = stats.isDirectory();
    }
  
    this.bindOpensubtitlesEvents();
  
  }
docs: /*
  Application