refacotring..
added dronedatastream
added stream to write data