Adding components to getStreams

creating ObjectInputStream ObjectOutputStream