Add xmlParser classes

Add xml file loading test
Add some logging
Some refactoring changes