make separate device:device type classes