[WIP] Rewriting comm. 1/2

finished header bit R/W and data R/W. phew