add control.go for build MVC model