Started to implement message write logic. There were added a lot of TODO-s. MessageWriterTest.writesRightString should be repaired and writer output should be readed somehow.