Refactored Session and routing so that the initial loading time is absorbed in routing and all accesses to session data are synchronous.