Added a HashMap for the ObjectStreams and the accompanying functions and Classes