support to remote API and custom DatastoreService configuration