In reality there is one mastermind, however there are millions of gods. Reality is not just this 3d world we live in, anybody who looks inside themselves can experience and prove what i am saying.
The Absolute, the Core, in Kabalah the Ain Soph Aur is the mastermind, and the universe and us are his reflection. In other words we are him as he is us.
He is like a president, wich has in his disposal an army with ranked soldiers, its like a goverment. Those soldiers are all gods, becouse in escence they are god. And within each of us theres one of those gods living in flesh to complete a mission down on this 3d world.
We cannot see them becouse we are totally blinded by ego and we must wake up and come back to our father. That is how we can encarnate our true self as did Buddha, Jesus, and others.