changed baseObject to _BaseObject, added __eq__ method that compares par dict and instance only