var path = require('path')
var dropsIndex = require('../drops')
var Performer = require('./performer')

function App(opts) {
  var options = opts || {};
  this.dropsPath = options.dropsPath || path.resolve(__dirname+'/../drops');
  this.indexDrops = function() {
    this.drops = dropsIndex(this.dropsPath)
  }
  this.indexDrops()
  this.performer = function(dropName, argv) {
    return new Performer(dropName, argv, this)
  }
}

module.exports = App;

@@ -57,16 +57,47 @@
 drops')%0A
+var mkdirp = require('mkdirp')%0A
 var Perf
@@ -254,16 +254,46 @@
 rops');%0A
+  mkdirp.sync(this.dropsPath)%0A
   this.i

support external dropspath