- added XML reader
- changes in model and XML writer