add model and init model
add model
change db config from app.conf