Refactored docs to have a file for streams and a file for API.