After you save a site as template you get a WSP file that you can then import in VS and tweak it as you want.
I did this for a site today and had a lot of things in the WSP after I decompressed it, and I'm a bit confused on what is what and which is which.
Is the folders structure standard for a WSP file? Where can I find this structure defined?