First version of the ESSWriter