Moved main-content switching to new file util.js. Used Deferred to load router after in config.js. Reworked subrouters to use shared code.