Added class struction for equations
copied src/equations from previous repo