refactor - cria app.create