Created basic classes for mathematical groups