Rest refactor

refactor Restlet to Spring MVC REST controllers