On spherically symmetric perfect fluid distributions and class one property