I would suggest looking at the Downtime and Kingdom Builder from Pathfinder's "Ultimate Campaign". They might not be exactly what you're looking for, but they just might point you in the direction you wanna go. Or check them on the srd;
http://www.d20pfsrd.com/gamemastering/other-rules/kingdom-building
http://www.d20pfsrd.com/gamemastering/other-rules/downtime
For your class problem, you don't need a building for each different class/Prc. For example, the
paladin, might need a barracks and a church before you can start making them. Continuing along that path, you might have to train a
paladin before you can acquire a
favored soul. Your
swordsage, might need a barracks, temple (or whatever you use for monks), and to recover the "lost scrolls of ____".
I'd suggest you make a list of all the classes/Prcs your going to allow. Next, I would consider the general roles a PC can take [Defender, Striker (melee), Striker (ranged), Arcane, Divine, Healer, Face, Sneaky-Staby... etc]. Then, I'd make sure there is a building(s) that would apply well to each [Barrack, Tower, Church, Theater, Bar... etc] while trying create as few as possible. Obviously some classes will fill multiple roles, some simultaneously like the
druid (built right a powerful divine defender/striker) while others have to be built towards a specific role. Last but not least I'd make a tech tree to show what building(s) are need to build each class/Prc, with a few notations for extra oddball things like my
swordsage example.
Well, I hope you the best of luck and that both you and your players enjoy.