Add rest-impl

Change-Id: Iaeaf22411c1f711f7e3941da0966ca0ed04297b1