enchance yandex api xml compatibilty
main window refactoring: break implementation from logic