New structures and writer. Writer and reader not completed.