moved all mutable state to config, resetting handler and pages
tweaks for admin and api compatibility
full page and route reloading with new config