def start
      parent_pid = Process.pid
      @worker_pid = Process.fork do
        object = Object
        @worker_class.split('::').each { |sub| object = object.const_get(sub) }
        object.new(@options.merge('parent_pid' => parent_pid, 'device_identity' => self.identity, 'port_allocator' => self.port_allocator, 'hive_id' => Hive.hive_mind.device_details['id']))
      end
      Process.detach @worker_pid

      Hive.logger.info("Worker started with pid #{@worker_pid}")
    end
def start
      parent_pid = Process.pid
      @worker_pid = Process.fork do
        object = Object
        @worker_class.split('::').each { |sub| object = object.const_get(sub) }
        object.new(@options.merge('parent_pid' => parent_pid, 'device_identity' => self.identity, 'port_allocator' => self.port_allocator, 'hive_id' => Hive.hive_mind.device_details['id']))
      end
      Process.detach @worker_pid

      Hive.logger.info("Worker started with pid #{@worker_pid}")
    end
Initialise the device
 Start the worker process