Xrf data

Some small modifications.
But this interface is simplified. I think I get your idea.