Design Issues For The Layers Of The Sun