Create stream and create entries for streams

Implemented create_stream and create_entry.