I think that souls are molded and organized by something akin to morphic fields.
You can also call them archetypes, that are then individuized when the life spark(prana) is added to the morphic field. Not all morphic fields have the life spark, such as the morphic fields for individual atoms or molecules.
Morphic fields can exist within other fields, such as an individual ant's field exists within it's community's field. This is also called "holons". Things can exist as a part of the whole, and yet be individuals at the same time.
God is the morphic field which contains all other fields within itself.