simplified things, added ability to set all rest client settings