add route definition file loaders
add "factory" to generate router instance