store input and output data and functions for downloading data on window