Added fitter class.

Refatored some of the API.