refactored backup protocol and implemented fail measures refactored tcp communication using objectstreams