added device class
wired up device object