Started implementing the Fit class