Added platform deviceHandler, dataEvent, sendData methods. WIP