cleaned up.  stream fcns good, base class started