created RDB generic request and listInstances. UNTESTED