put the template func in init()
remove the generate file(app/routes/routes.go)