Add beginings of data export functionality