Streams to load, add license and copyright and doc

Replace the custom iterators for loading by read streams, add a
streamifyArray helper