add restapiurl to config
add restapi url to properties
use restapiurl in RestAccessor