Modified Streaming Implementation.

1)Read the Stream data only if the client requies it(Previously we were fecting the stream data while getting the entity).
2)Created a StreamReference class which will hold the stream data.
3)Made changes for Create and Update