made streaming operators for objects
made a save plugin