add __str__ methods to all classes in base.py