what is the function of this device and how its work .what are its steps to configure .how its cables are attached.