added resource server api (part of DRG poc)