Creating independant classes like Residual, Subject, etc.