Moving gzstream to the external stack.
Adding license file.