Updated data packaging

Data is now packed into a DataFile type and sent instead of using arrays