We define a new class of distributions with one extra shapeparameter including some special cases. We provide numerical and computational aspects of the new class. We proposefunctions using the \textsf{R} language to fit any distribution in this family to a data set. In addition, such functions are implemented efficientlyusing the library \textsf{Rcpp} that enables the incorporation of the codes \textsf{C++} in \textsf{R} automatically. Some examples are presentedfor using the implemented routines in practice. We derive some mathematical properties of this class including explicit expressionsfor the moments, generating function and mean deviations. We discuss the estimation of the model parametersby maximum likelihood and provide an application to a real data set.