Added device_read function implementation & clear

Added device_read function implementation