Added the Rest server and the delete method