Troth Glenbeard was a dwarf with a mission. And that was destruction.
From there, things happened. And the Irondeeps got a Subterranean-Transport-System-That-Moves-Things-Around-Faster-Than-Equine-Means (aka, in modern-speak, a subway).
All spell casters gain their abilities through a form of demon possession. So in order to gain magical abilites, PCs must track down and trap demons. Of course there are some pretty powerful demons, if the demon is stronger than the PC, the PC could find themselves subjugated to the Demon's will.