refactored create app [ci skip]