Added a new class that just overrides __str__ so that it does string output instead of file output.