add the skeleton of  restful API