Refatorando a Aplication