Add REST api based on SpringMVC