Added saving of all created objects. Added removeObject method.