F68: Add ToString method to all classes.

Created base class for all classes.