create app with xml config