Changes to the upload class. Debug the data first, so I can see what to do with it