add REST router.
rest router added.