General OGS6$add function
Instead of defining new add_ functions for objects of specific classes when one defines new classes for a OGS6 component, we might have one general add_ function that automatically assigns class objects to their OGS6 respective component.