Many organisms have powerful control genes that determine how the body is laid out. For example, Hox genes are found in many animals (including flies and humans) and designate where the head goes and which regions of the body grow appendages. Such master control genes help direct the building of body "units," such as segments, limbs, and eyes. So evolving a major change in basic body layout may not be so unlikely; it may simply require a change in a Hox gene and the favor of natural selection. Uhh i hope this help (:?