       slideInfo = new Firebase "#{baseFirebaseUrl}info/"
       slideInfo.set code
 
-      remoteQueu = new Firebase "#{baseFirebaseUrl}cmd/"
+      remoteQueu = new Firebase "#{baseFirebaseUrl}qc/"
       
       console.log remoteQueu
       

    jump: () ->
    next: () ->
    previous: () ->
    getCurrentSlide: () ->

  class SpeakerdeskRemote extends Remote
    constructor: () ->
      super
    next: () ->
      f = $('.speakerdeck-iframe');
      console.log($('.controls > a.next'))
      $('.controls > a.next').click();
      $('.nav .btnNext').length && $('.nav .btnNext').click()
    previous: () ->
      f = $('.speakerdeck-iframe');
      $('.controls > a.prev').click();
      $('.nav .btnPrevious').length && $('.nav .btnNext').click()


  class SlideshareRemote extends Remote
  class ScribdRemote extends Remote
  class RabbitRemote extends Remote
    

  return {
    init: ()->

            end
          when 'next'
            remote.next
          when 'prev', 'previous'
            remote.previous
          when 'current'
            remote.getCurrentSlide
          else
            console.log "Not implement"
        #Okay, remove that command
        r = new Firebase("https://qcommander.firebaseio-demo.com//#{connection.get('token')}/qc/".concat(snapshot.name()))
        r.remove()
      this.showConnectionBoard() 

