First implementation of dxf feature writing (but it does not work yet)