Refactore MVC