EM : Refactoring Spring MVC to pure REST