Added preliminary REST client class
Added rudimentary dehydrate and hydrate functions