HEED completed, tested
bugs caused by incorrect using of memcpy in communication fixed