as the laws of science stubbornly emerged from their imprisonment of the middle ages , the new paradigm was of god , the celestial designer , who set these laws in motion towards his mysterious ends .