Updated Resource Client Constructor