fix bug in model.php, split configuration from routers
merge