lib/spark_engine/command.rb
def dispatch(command, *args)
      @threads = []
      send command, *args
      @threads.each { |thr| thr.join }
    end
def dispatch(command, *args)
      @threads = []
      send command, *args
      @threads.each { |thr| thr.join }
    end
Handles running threaded commands