add restful controller (resful implementation using spring mvc)