adding a working restful service