Move page requesting/caching out into its own classes.
Seperate out logging into its own class.