Clean up naming, comments, flow. Add streaming multipart.