callbacks
refactor Router/Route/Path and Registry/RegistryLoader