fix(gen): reintroduce the possibility to choose between XML and JS view for the classical app

closes #19
test(app): add test for checking classical app with XML view

closes #19