fix Device object constructor

Device class must refer to Base class, all methods are in Base class