Update README.md and modify some function structure.

Signed-off-by: Lee <jessy1092@gmail.com>