modules refactoring (5) - xml reader