added router config and template