- added the base required functionality to rest client