Define basic types, move main.go.