introduce restful distribut slave layer