added ability to hook into cloudant remote dbs