unzipping, merging, and adding a header column

I have a zipped (.gz) dataset which contains about 1000 folder. Each folder contains 7 days raw accelerometer data with column X, Y, Z. I need help to unzip all the folder, merged all files together, add a custom header, and rename the folder. Lastly, I want to repeat this step in the same order for all folders.

Thank you.