Take pictures!!! Walk around the bike and shoot. Make sure you are getting sharp photos. Redo if necessary. Then start taking off as much as you can, seat, side panels, etc, and keep shooting. Then as you rewire, take pictures. You might want to put paper labels on things that are not obvious. Trust me, things look a lot more logical and obvious BEFORE you disassemble the bike.
You will be amazed at how many times you will go back to your computer and study the before pics.