Initial commit of write

Untested write wo crc-calculation and retransmit

Signed-off-by: Thommy Jakobsson <thommyj@gmail.com>