refatorando mvc