added base code for vitalservice rest endpoint