moved module xml spec into individual prototype sections. fixed a bajillion compile errors.