initial checkin of rest wrapper code