Xrf fit

Sure. So the main advantage with object is that we can do inheritance later? I heard that on python 3. we can drop it, a bit confusing, but I will keep it for all the cases.