removed unused instance variables from Device
renamed UIDString and uid to have more clear names in public interface of Device
stricter encapsulation between Device and IPConnection (using a method that is not publicly visible)