Fitting the young main-sequence: distances, ages and age spreads