Added device id

Added new config variable DeviceId