add template model
change test/config.php