multiple apis are put in one single types.go file which make it hard to read. It is better that we can separate them to multiple files.