added REST connection impl