dummyDevice and manager now only instanciate themselves if they are invoked by node (as opposed to require)