move application-stream out to another file