linear Class and PCA app