Network operations and XML parsing
Refactoring part 1