Update rtree_client to use resource discovery