Refactoriacion inicial