Refactoring Spring MVC