Parameters Integration

I have integrated settings to the xray class.