Basic class for OOD