refactoring
removing comments in main.py
more xml work