Move device info related functionality into separate class