add restful service framework